//
//  DZZheKouTableViewCell.m
//  DaZhePrivateHomeCuisineClient
//
//  Created by zouzhisheng on 15-3-3.
//  Copyright (c) 2015年 zouzhisheng. All rights reserved.
//

#import "DZZheKouTableViewCell.h"

@implementation DZZheKouTableViewCell

- (void)awakeFromNib {
    // Initialization code
    self.contentView.backgroundColor=[UIColor colorWithHexString:@"ECECEC"];
    self.backView.layer.borderColor=[UIColor whiteColor].CGColor;
    self.backView.layer.cornerRadius=5;
    self.backView.layer.borderWidth=1.0;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}
-(void)loadData:(DZSubjectZhekouInfoSubModel*)model{
//    self.labe1.text=model.c_zhekouyouhui;
//    CGSize size=[Common calculateSize:model.c_zhekouneirong maxWidth:283 fontSize:17];
//    self.contentLabel.numberOfLines=0;
//    self.contentLabel.height=size.height;
//    self.backView.height=size.height+50;
//    self.backImageView.height=size.height+50;
//    self.contentLabel.text=model.c_zhekouneirong;
}
-(void)loadZheKou:(NSString*)zhekou YouHuiNeiRong:(NSString*)youHuiNeiRong{
    self.labe1.text=zhekou;
    CGSize size=[Common calculateSize:youHuiNeiRong maxWidth:267 fontSize:16];
    [self.contentLabel setText:youHuiNeiRong];
    [self.contentLabel setFont:[UIFont systemFontOfSize:16]];
    [self.contentLabel setTextColor:[UIColor darkGrayColor]];
    self.contentLabel.height=size.height;
    self.backView.height=size.height+80;
    self.backImageView.height=size.height+80;
}
@end
